/*
 * Copyright (C) 2017 Honeywell, Inc. All Rights Reserved.
 */

package org.thanos.demo;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

@Configuration
@SpringBootApplication
@ComponentScan("org.thanos.demo")
@ImportResource("classpath:spring/applicationContext.xml")
public class DubboBootstrapApp {
    public static void main(String[] args) {
        new SpringApplicationBuilder(DubboBootstrapApp.class)
                .web(WebApplicationType.REACTIVE)
                .run(args);
    }
}
